<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>super指向问题</title>
</head>
<body>
   <script type="text/javascript">
   	
      class Person {
      	 constructor (name,age) {
      	 	this.name  = name
      	 }

      	 run () {
            console.info("我可以跑得哦")
      	 }
      }


      class Teacher  extends Person {
      	  constructor (name,age)
      	  {
      	  	  super(name,age)
      	  	  this.sex = "男"
      	  }

      	  // static jump (){
      	  // 	   console.info(super)
      	  // }
      }

      let t = new Teacher("zhr",24);

      console.info(t)
   </script>
</body>
</html>